package com.jy.service;

import com.jy.bean.Lndividual_orders;
import com.jy.bean.Order;
import com.jy.bean.Order_browse;
import com.jy.bean.Orderdetail;

import java.util.List;

/**
 * 业务逻辑接口
 * 处理order表对应的各种业务逻辑
 */
public interface Orderservice {
    List<Orderdetail> consigneeList();
    Boolean insertOrder(Order order);
    Boolean insertorderdetail(Order order);
    Integer selectturnover();
    boolean UpdateOrderState(String ordernumber);
    List<Orderdetail> consigneeByIdList(Integer user_id);
    List<Lndividual_orders> selectByOrdernumber(String ordernumber);
    String selelByconsigneeName(String ordernumber);
    List<Order_browse> order_browseList(String ordernumber);
    String selectByordernumber(String ordernumber);
    boolean MerchantUpdateState(String ordernumber,String state);
    boolean update_order(String name);
    boolean updateByname_order();
}
